package executor.impl;

import java.util.concurrent.Future;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

public class IndexingService extends ThreadPoolExecutor {
	private final Indexer[] indexers;
	
	public IndexingService() {
		super(1, 8, 1, TimeUnit.MINUTES, new PausableQueue(1000));
	}
	
	@Override
	public Future<?> submit(Runnable task) {
		return super.submit(task);
	}
}